package com.qth.valet.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("driver_review")
public class DriverReview {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer driverId;
    private String profileImg;
    private String surname;
    private String name;
    private Integer sex;
    private String phone;
    private String idCard;
    private String idCardFrontImg;
    private String idCardBackImg;
    private String emergencyContact;
    private String emergencyContactPhone;
    private String driverCardFrontImg;
    private String driverCardBackImg;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date driverCardReceiveTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date driverCardExpriesTime;
    private Integer driverAge;
    private Integer driverCarType;
    private Integer auditStatus;
    private String auditReason;
    /** 银行名称 */
    private String bankName;
    /** 银行卡号 */
    private String bankCardId;
}
